from django.db import models

# Create your models here.
class Student(models.Model):
    id = models.IntegerField(primary_key=True, verbose_name="序号")
    name = models.CharField(max_length=20, verbose_name='名称')
    age = models.CharField(max_length=11, verbose_name='年龄')

    class Meta:
        db_table = 'student'
        verbose_name = '学生'
        verbose_name_plural = verbose_name
